package com.naiterui.ehp.bs.cms.modules.agent.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 通知消息表
 * @author yiren
 * @since 2022/2/10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ag_notice_message")
public class AgNoticeMessage extends BaseEntity implements java.io.Serializable {
    public static final int DEL_FLAG_NO = 0;
    public static final int DEL_FLAG_YES = 1;
    public static final int STATUS_BETA = 0;
    public static final int STATUS_RELEASE = 1;
    public static final int STATUS_UNRELEASE = 2;

    public static final int TYPE_NOTICE_SYS = 1;

    /**
     * 标题
     */
    private String title;
    /**
     * 编辑内容
     */
    private String content;
    /**
     * 消息类型：1:系统公告
     */
    private Integer type;
    /**
     * 发布时间
     */
    private Date releaseTime;
    /**
     * 发布人
     */
    private String releaseBy;
    /**
     * 删除标记 0:正常 1:删除
     */
    private Integer delFlag;
    /**
     * 状态 0:待发布, 1:已发布, 2:已下架
     */
    private Integer status;

}
